<?php foreach ($autores as $key => $autor): ?>
    <td>
        <input type="checkbox" name="cod[]" value="<?php echo $autor->codigo; ?>"/>
    </td>
    <td width="60">
        <?php echo $autor->codigo; ?>
    </td>
    <td class="pointer" ondblclick="javascript:atualizarAutor(<?php echo "'$autor->codigo'" . ',' . "'$autor->nome'"; ?>)">
        <?php echo $autor->nome; ?>        
    </td>
    <td align="center" width="20" class="tip">
        <a title="Editar registro do autor <?php echo "<br /><b>$autor->nome</b>"; ?>" onclick="javascript:atualizarAutor(<?php echo "'$autor->codigo'" . ',' . "'$autor->nome'"; ?>)">
            <img align="center" src="<?php echo site_url('assets/img/edit.png'); ?>" class="bt-table" />
        </a>
    </td>
    <td align="center" width="20" class="tip">
        <a title="Excluir o autor <?php echo "<br /><b>$autor->nome</b>"; ?>" onclick="javascript:excluirAutor(<?php echo "'$autor->codigo'" . ',' . "'$autor->nome'"; ?>)">
            <img align="center" src="<?php echo site_url('assets/img/delete.png'); ?>" class="bt-table" />
        </a>
    </td>
    </tr>    
<?php endforeach; ?>
  Time: <?php echo $this->benchmark->elapsed_time(); ?>
    Mem: <?php echo $this->benchmark->memory_usage(); ?>